.container {
    padding-bottom: 100px;
}

/* 为整个表格添加边框 */
table {
    border-collapse: collapse; /* 合并相邻的边框 */
    width: 100%; /* 设置表格宽度 */
}

/* 为表格的单元格添加边框 */
table, th, td {
    border: 1px solid gray; /* 设置单元格边框 */
}

table tr:hover {
    background-color: lightgray
}

/* 定义可点击的 CSS 类 */
.clickable {
    cursor: pointer; /* 鼠标悬停时显示手型 */
}

/* 鼠标悬停时更改样式 */
.clickable:hover {
    color: blue; /* 悬停时文字变为深蓝色 */
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.justify-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.justify-between {
    display: flex;
    justify-content: space-between;
}

.pl-5 {
    padding-left: 5px;
}

.pl-10 {
    padding-left: 10px;
}

.pl-20 {
    padding-left: 20px;
}
.pr-5 {
    padding-right: 5px;
}

.pr-10 {
    padding-right: 10px;
}

.pr-20 {
    padding-right: 20px;
}

.pt-20 {
    padding-top: 20px;
}

.pt-10 {
    padding-top: 10px;
}

.pb-10 {
    padding-bottom: 10px;
}
.pb-20 {
    padding-bottom: 20px;
}

.ml-10 {
    margin-left: 10px;
}

.header-row {
    position: sticky;
    top: 0;
    left: 0;
    background-color: white;
    padding-bottom: 10px;
    z-index: 33;
}

.tabbar button {
    padding: 5px;
}

.btn_active {
    background-color: green !important;
}

.user_row {
    margin-top: 1px;
    padding: 5px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    width: 200%;
}

.name {
    width: 80px;
    text-align: center;
    font-size: 26px;
    position: sticky;
    left: 0;
    margin: -5px 0;
    padding-top: 10px;
    background-color: white;
}

.name span {
    padding-left: 5px;
    font-size: 16px;
    color: orange;
}

.skill {
    color: blue;
    position: relative;
    display: inline-block;
    width: 30px;
}

.skill img {
    padding-top: 2px;
    width: 18px;
    height: 19px;
}

.skill-hover {
    display: none;
    position: absolute;
    top: 30px;
    left: 50px;
    padding: 5px;
    width: 200px;
    color: black;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    white-space: pre-wrap;
    z-index: 10;

}

.skill-hover div {
    line-height: 20px;
    height: 20px;
    font-size: 16px;
}

.skill:hover .skill-hover {
    display: block;
}

.coin_total {
    color: orange;
    width: 200px;
}

.coin_total img {
    padding-top: 2px;
    width: 18px;
    height: 18px;
}

.pixel_total {
    color: green;
    width: 150px;
}

.pixel_total img {
    width: 20px;
    height: 20px;
}

.coin {
    color: orange;
    width: 180px;
}

.coin img {
    padding-top: 2px;
    width: 18px;
    height: 18px;
}

.pixel {
    color: green;
    width: 100px;
}

.pixel img {
    width: 20px;
    height: 20px;
}

.energy {
    color: blue;
    padding-top: 2px;
    width: 30px;
}

.energy img {
    width: 18px;
    height: 18px;
}

.update_time {
    width: 200px;
}

.start_times {
    width: 100px;
}

.backpack_item {
    margin-top: -5px;
    margin-bottom: -5px;
    padding-top: 5px;
    border-right: 1px solid gray;
    width: 60px;
    text-align: center;
    background-color: lightgray;
}

.backpack_head {
    background-color: lightgreen;
}

.backpack_item_container {
    position: relative;
    width: 100%; /* 根据需要调整宽度 */
    height: 100%; /* 根据需要调整高度 */
}

.backpack_item_name {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: black;
}


.backpack_item_qty {
    position: absolute;
    top: -5px;
    left: 0;
    width: 30px;
    height: 20px;
    align-items: flex-start;
    font-size: 10px;
    color: blue;
    font-weight: bold;
}